<?php
	mysql_connect("localhost", "root", "%Tg34fv1")or die("cannot connect"); 
	mysql_select_db("wordWaffle")or die("cannot select DB");
	$result=mysql_query('SELECT * FROM gameStatus ORDER BY gameID DESC LIMIT 1');
	$row=mysql_fetch_assoc($result);
	if ($row['status']==0)
		echo "Waiting for players to join...";
	else
		echo "Game is in progress.  Please wait.";
?>